<?php
namespace backend\controllers;

use Yii;
use yii\filters\AccessControl;
use yii\web\Controller;
use common\models\LoginForm;
use yii\filters\VerbFilter;
use yii\web\Session;

class IndexController extends Controller
{
	public function actionIndex()
   {
   	
      return $this->renderPartial('index');
   }
   public function actionHeader()
   {
   	//echo "租房后台";die;
      return $this->renderPartial('header');
   }
   public function actionMenu()
   {
   	//echo "租房后台";die;
      return $this->renderPartial('menu');
   }
   public function actionMain()
   {
      return $this->renderPartial('main');
   }
   public function actionLogin()
   {
   	//echo "租房后台";die;
      return $this->renderPartial('login');
   }
 }